﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FanaticRock.Core.AudioPlay.Events
{
    ///<summary>音频进度</summary>
    public class AudioProgressUpdateEventArgs : EventArgs
    {
        public TimeSpan TotalDuration { get; set; }

        public TimeSpan CurrentPosition { get; set; }

        public AudioPlayStateEnum State { get; set; }

        public override string ToString()
        {
            return $"AudioProgressUpdateEventArgs totalDur {TotalDuration} currentPos {CurrentPosition} state {State}";
        }
    }
}
